package com.woniu.server.feign;

import com.woniu.common.utils.ResponseData;
import com.woniu.server.dto.PowerUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author hht
 * @Date Create by 2024/11/25 17:27
 */
@FeignClient(name = "uums-server", path = "/uumsServer")
public interface UumsFeign {

    @PostMapping("/queryByCode")
    PowerUserDto queryByCode(@RequestParam("code") String code);
}
